package com.hotacorp.opencloud.userservice.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hotacorp.opencloud.common.mybatisplus.PageData;
import com.hotacorp.opencloud.userservice.entity.SysRoleEntity;

import java.util.List;
import java.util.Map;

/**
 * 角色接口
 *
 * @author lwg
 * @email lwg@gmail.com
 * @date 2019-12-25 11:52:19
 */
public interface SysRoleService extends IService<SysRoleEntity> {

    PageData queryPage(Map<String, Object> params);
    List<SysRoleEntity> select(Map<String, Object> params);

	void saveRole(SysRoleEntity role, Long tenantid);

	void update(SysRoleEntity role, Long tenantid);

	void deleteBatch(Long[] roleIds, Long tenantid);
}

